<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
        <%  
        String strSessionj = (String)request.getSession().getAttribute("namet");  
        System.out.println("JSP:" + strSessionj);
        if(strSessionj == null){
        	response.sendRedirect("/user_login.html");
		}
        %>
<title><%=strSessionj%>的主页</title>
<style type="text/css">
    div#kuai1 { 
        background-color: #cacaca; 
     	width: 200px;  
     	height: 600px;
     	margin: 0px; 
     	padding: 0px;
    }
    div#kuai2 { 
        background-color: #FFB5B5 ; 
     	width: 900px;  
     	height: 100px;
     	margin: 0px; 
     	padding: 0px;
    }
    div#kuai3 { 
        background-color: #FFFFFF; 
     	width: 900px;  
     	height: 495px;
     	margin: 0px; 
     	padding: 0px;
    }
    div{
    	float: left;
    }
    .dabt{
    	position: relative;
    	left: 100px;
    }
    .yous{
    	position: relative;
    	left: 680px;
    	top: -70px;
    }
    a{
    	color: black;
    	text-decoration: none;
    }
    a:hover {
        color: red;
    }
</style>
</head>
<body>
    <div id="kuai1">
    <br><br><br><br><br><br>
    <span><h3>&nbsp;&nbsp;&nbsp;<a target="center" href="blog_add.jsp" >发表博客</a></h3></span><br><br>
    <span><h3>&nbsp;&nbsp;&nbsp;<a target="center" href="myblog.jsp" >我的博客</a></h3></span><br><br>
    <span><h3>&nbsp;&nbsp;&nbsp;<a target="center" href="blog_typelist.jsp" >全部博客</a></h3></span><br><br>
    <span><h3>&nbsp;&nbsp;&nbsp;<a target="center" href="myping.jsp" >我评论的博客</a></h3></span><br><br>
    </div>
    <div id="kuai2">
    <span class="dabt"><h1><%=strSessionj%>的博客</h1></span>
    <span class="yous"><a href="mainpage_login.jsp">返回主页</a></span>
    <span class="yous"><a href="weikaifa.html">个人设置</a></span>
    <span class="yous"><a href="mainpage.jsp">退出登录</a></span>
    </div>
    <div id="kuai3">
    <iframe src="linshinew.jsp" height="500" width="900" name="center"></iframe>
    </div>
</body>
</html>